<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Vote
 * @copyright  Copyright 2011 KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 * @version    $Id: tag-cloud.tpl 2011-03-09 01:11:30 idris $
 * @author     Idris
 */
?>

<div class="generic-layout-container kow-tags">
  
  <?php if ($this->title): ?>
	  <h3><?php echo $this->translate($this->title); ?></h3>
  <?php endif; ?>
  
	<div class="kow-tag-cloud">
		<?php foreach($this->tags as $tag): ?>
		<a href="javascript:void(0)" onclick="<?php echo $this->onclick; ?>('<?php echo $tag['text']; ?>')" class="tag <?php if ($tag['text'] == $this->active): ?> active <?php endif; ?> kow-tag-<?php echo $tag['class'];?>">
			<?php echo $tag['text'];?>
			<sup><?php echo $tag['freq']; ?></sup>
		</a>
		<?php endforeach; ?>
		<div class="clr"></div>
	</div>

</div>